package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-04-17
*/
    @ApiModel(value="NetConfiguration对象", description="")
    public class NetConfiguration implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "域名")
    private String hostName;

            @ApiModelProperty(value = "首选dns")
    private String firstChoiceDns;

            @ApiModelProperty(value = "备选dns")
    private String spareChoiseDns;

    private LocalDateTime updateTime;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public String getHostName() {
        return hostName;
        }

            public void setHostName(String hostName) {
        this.hostName = hostName;
        }
        public String getFirstChoiceDns() {
        return firstChoiceDns;
        }

            public void setFirstChoiceDns(String firstChoiceDns) {
        this.firstChoiceDns = firstChoiceDns;
        }
        public String getSpareChoiseDns() {
        return spareChoiseDns;
        }

            public void setSpareChoiseDns(String spareChoiseDns) {
        this.spareChoiseDns = spareChoiseDns;
        }
        public LocalDateTime getUpdateTime() {
        return updateTime;
        }

            public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
        }

    @Override
    public String toString() {
    return "NetConfiguration{" +
            "id=" + id +
            ", hostName=" + hostName +
            ", firstChoiceDns=" + firstChoiceDns +
            ", spareChoiseDns=" + spareChoiseDns +
            ", updateTime=" + updateTime +
    "}";
    }
}
